/* Copyright (c) 2010, David Kreuter. See LICENSE for more information */

#ifndef IN_HEADERS_H
#error This file should be included through "headers.h"
#endif

typedef struct _narc{
	uint16 num_files;
	uint8  **file;
	uint32  *size;
}narc;

narc *read_narc(uint8 *, uint32);
int write_narc(narc *, uint8 *, uint32);
void save_file(narc *, uint16, uint8 *content, uint32 size);
void free_narc(narc *);
uint32 size_narc(narc *);
